<template>
  <div class="">
    搜索：<input type="text" v-model="ss" @keyup.enter="key" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      ss:''
    };
  },
  mounted() {},
  methods: {
      key(){
          this.$emit('add',this.ss)
      }
  },
  components: {}
};
</script>

<style lang='scss'>
</style>
